﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="MonthLoginCondition.aspx.cs" Inherits="LoginCondition_MonthLoginCondition" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <script type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
    <link href="../My97DatePicker/skin/WdatePicker.css" type="text/css" rel="Stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div>
        时间:
        <asp:TextBox ID="TextBox1" runat="server" onfocus="WdatePicker()" CssClass="Wdate"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="查看" OnClick="Button1_Click" />
    </div>
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"  OnRowCommand="GridView1_RowCommand"  cssclass="commongv">
            <Columns>
                <asp:BoundField DataField="用户姓名" HeaderText="用户姓名" SortExpression="用户姓名" />
                <asp:BoundField DataField="登录名" HeaderText="登录名" SortExpression="登录名" />
                <asp:BoundField DataField="上午正常" HeaderText="上午正常" SortExpression="上午正常" HtmlEncode="false" />
                <asp:BoundField DataField="上午迟到" HeaderText="上午迟到" SortExpression="上午迟到" HtmlEncode="false" />
                <asp:BoundField DataField="上午未签到" HeaderText="上午未签到" SortExpression="上午未签到" HtmlEncode="false" />
                <asp:BoundField DataField="下午正常" HeaderText="下午正常" SortExpression="下午正常" HtmlEncode="false" />
                <asp:BoundField DataField="下午迟到" HeaderText="下午迟到" SortExpression="下午迟到" HtmlEncode="false" />
                <asp:BoundField DataField="下午未签到" HeaderText="下午未签到" SortExpression="下午未签到" HtmlEncode="false" />
                <asp:TemplateField>
                    <HeaderTemplate>
                        查看</HeaderTemplate>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="info"
                            Visible="true" CommandArgument='<%#Eval("登录名") %>' Text="查看"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
